package com.prize.pojo.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @descriptions:
 * @author: yunqiang
 * @date: 2022/5/28 18:55
 */
@Data
@TableName("sys_oplog")
public class SysOplog implements Serializable {

    private Integer id;


    //用户
    private String userName;


    //操作
    private String opContent;

    //ip
    private String ip;

    //操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    private static final long serialVersionUID = 1L;
}
